Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add fetch_ros to jsk_fetch_user.rosinstall.indigo #1153

Merged
merged 1 commit into from
Oct 26, 2019

Conversation

708yamaguchi
Copy link
Member

Now, fetch_ros is not released in Indigo, so we need to install it manually.
I add fetch_ros to jsk_fetch_user.rosinstall.indigo.
(jsk_fetch_user.rosinstall.indigo is needed to build jsk_fetch_startup and fetcheus in fetch user's PC.)

Related to #1148

@k-okada
Copy link
Member

k-okada commented Oct 21, 2019

can we use version 0.8.2 which includes your patch ? (ZebraDevs/fetch_ros@21b8b7a#diff-de84839037dfe8156bacf46caa513f4e ), and if we use 0.8.2, does #1147 work?

@708yamaguchi
Copy link
Member Author

In indigo PC, we cannot build fetch_ros of 0.8.2.
The reason is mismatch of gcc and OpenCV version.

$ git checkout 0.8.2
Previous HEAD position was 4680118... Merge pull request #101 from 708yamaguchi/add-teleop-rosparam
HEAD is now at c10411b... 0.8.2

$ catkin build
------------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/leus/ros/indigo/devel:/opt/ros/indigo
Workspace:                   /tmp/ws
------------------------------------------------------------------------
Source Space:       [exists] /tmp/ws/src
Log Space:          [exists] /tmp/ws/logs
Build Space:        [exists] /tmp/ws/build
Devel Space:        [exists] /tmp/ws/devel
Install Space:      [unused] /tmp/ws/install
DESTDIR:            [unused] None
------------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
------------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
------------------------------------------------------------------------
Workspace configuration appears valid.
------------------------------------------------------------------------
[build] Found '9' packages in 0.0 seconds.                                         
[build] Package table is up to date.                                               
Starting  >>> fetch_calibration                                                    
Starting  >>> fetch_depth_layer                                                    
Starting  >>> fetch_description                                                    
Starting  >>> fetch_ikfast_plugin                                                  
Starting  >>> fetch_maps                                                           
Starting  >>> fetch_teleop                                                         
Finished  <<< fetch_description                  [ 0.7 seconds ]                   
Finished  <<< fetch_maps                         [ 0.8 seconds ]                   
Finished  <<< fetch_calibration                  [ 1.1 seconds ]                   
___________________________________________________________________________________
Errors     << fetch_ikfast_plugin:make /tmp/ws/logs/fetch_ikfast_plugin/build.make.000.log
c++: error: unrecognized command line option ‘-std=c++14’
make[2]: *** [CMakeFiles/fetch_arm_moveit_ikfast_plugin.dir/src/fetch_arm_ikfast_moveit_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/fetch_arm_moveit_ikfast_plugin.dir/all] Error 2
make: *** [all] Error 2
cd /tmp/ws/build/fetch_ikfast_plugin; catkin build --get-env fetch_ikfast_plugin | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...................................................................................
Failed     << fetch_ikfast_plugin:make           [ Exited with code 2 ]            
Failed    <<< fetch_ikfast_plugin                [ 1.2 seconds ]                   
Abandoned <<< fetch_moveit_config                [ Unrelated job failed ]          
Abandoned <<< fetch_navigation                   [ Unrelated job failed ]          
___________________________________________________________________________________
Errors     << fetch_depth_layer:check /tmp/ws/logs/fetch_depth_layer/build.check.000.log
CMake Error at /tmp/ws/src/fetch_ros/fetch_depth_layer/CMakeLists.txt:17 (find_package):
  Could not find a configuration file for package "OpenCV" that is compatible
  with requested version "3.2".

  The following configuration files were considered but not accepted:

    /usr/share/OpenCV/OpenCVConfig.cmake, version: 2.4.8



make: *** [cmake_check_build_system] Error 1
cd /tmp/ws/build/fetch_depth_layer; catkin build --get-env fetch_depth_layer | catkin env -si  /usr/bin/make cmake_check_build_system; cd -
...................................................................................
Failed     << fetch_depth_layer:check            [ Exited with code 2 ]            
Failed    <<< fetch_depth_layer                  [ 1.3 seconds ]                   
Finished  <<< fetch_teleop                       [ 6.0 seconds ]                   
[build] Summary: 4 of 8 packages succeeded.                                        
[build]   Ignored:   1 packages were skipped or are blacklisted.                   
[build]   Warnings:  None.                                                         
[build]   Abandoned: 2 packages were abandoned.                                    
[build]   Failed:    2 packages failed.                                            
[build] Runtime: 6.0 seconds total. 

@k-okada
Copy link
Member

k-okada commented Oct 23, 2019

I see, please add that information to .rosinstall comments

@708yamaguchi
Copy link
Member Author

I added the comment.

# indigo is already EOL and fetch_ros is never released.
# we cannot use 0.8.x (for melodic) because some packages of fetch_ros cannot be built in indigo PC.
# See https://github.com/jsk-ros-pkg/jsk_robot/pull/1148
- git:
    local-name: fetchrobotics/fetch_ros
    uri: https://github.com/fetchrobotics/fetch_ros.git
    version: 4680118106ba8ffa99a803122bf1a9e383edf3df

@k-okada k-okada merged commit a78e3b8 into jsk-ros-pkg:master Oct 26, 2019
k-okada added a commit to knorth55/jsk_robot that referenced this pull request Nov 25, 2019
k-okada added a commit to knorth55/jsk_robot that referenced this pull request Jul 19, 2021
@708yamaguchi 708yamaguchi deleted the add-fetch-ros branch November 24, 2021 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants